package model.mediators;

import model.entity.Entity;

public abstract class InteractionOption extends SimpleInteractionOption {

	private String name;
	private Entity active;
	private Entity passive;
	private InteractionMenuMediator mediator;
	
	protected Entity getPassive() {
		return passive;
	}

	public InteractionOption(String name) {
		super(name);
	}
	
	public String getName(){
		return name;
	}
	
	public void parameterize(Entity active, Entity passive, InteractionMenuMediator mediator) {
		this.active = active;
		this.passive = passive;
		this.mediator = mediator;
	}
	public abstract void actionPerformed();
	public void exit() {
		mediator.exit();
	}
	

}
